<%-- 
    Document   : header
    Created on : 3 mai 2011, 22:49:26
    Author     : simon
--%>

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>


<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <link rel="stylesheet" type="text/css" href="/ecom-web/css/style.css">
        <link rel="shortcut icon" href="/ecom-web/img/favicon.ico">

        <script src="/ecom-web/js/jquery-1.4.2.min.js" type="text/javascript"></script>
        <script type="text/javascript" src="/ecom-web/js/jquery.easing.min.js"></script>
        <script type="text/javascript" src="/ecom-web/js/jquery.lavalamp.min.js"></script>
    </head>

    <body>
        <div id="wrapper">
            <div id="header">
                

                <div id="logo">Winery<br /><span class="normal">l'art d'acheter le vin!</span></div>


                <div id="menu">
                    <ul class="lava">
                        <li class=""><a href="/secured/" title="">Accueil</a></li>
                        <li class="<c:if test="${requestScope['javax.servlet.forward.servlet_path'] == '/secured/products'}">current</c:if>"><a href="/secured/products" title="">Produits</a></li>
                        <li class="<c:if test="${requestScope['javax.servlet.forward.servlet_path'] == '/secured/stores'}">current</c:if>"><a href="/secured/stores" title="">Boutiques</a></li>
                        <li class="<c:if test="${requestScope['javax.servlet.forward.servlet_path'] == '/secured/customers'}">current</c:if>"><a href="/secured/customers" title="">Clients</a></li>
                        </ul>
                    </div> <%-- Menu dans les autres pages que l'index --%>

            </div>

            <c:if test="${infoMessage != null}">
                <div id="infoMessage" class="panelInfo">
                    <div>Message : <c:out value="${infoMessage}"></c:out></div>
                    </div>
            </c:if>

            <c:if test="${errorMessage != null}">
                <div id="errorMessage" class="panelInfo">
                    <div>Erreur : <c:out value="${errorMessage}"></c:out></div>
                    </div>
            </c:if>

